Go to the first, previous, next, last section, table of contents.

Backdrop Environment Parameters

This section describes how to set up backdrop computations affecting the environment.

Years and Days

Cyclic changes in the environment are governed by a yearly cycle or a daily cycle whose length must be defined.

WorldProperty: year-length n

This property is the number of turns in an annual cycle. If less than 2, then no seasonal effects will be calculated. Defaults to 0.

WorldProperty: day-length n

This property is the number of turns in a single day. If less than 2, then day and night will not be calculated. Defaults to 0.

Note that year-length and day-length are completely independent of each other, and it is possible to have days that are longer than years.

AreaProperty: initial-year-part n

This property is the season of the first turn in the game. Defaults to 0.

AreaProperty: initial-day-part n

This property is the hour of the first turn in the game, in 100ths of a day part. Defaults to 0.

GlobalVariable: season-names list

This global is a list of which turns in a year should be called which seasons. It has the form (... (n1 n2 name) ...). Defaults to ().

UnitTypeProperty: acp-season-effect interpolation-list

This property is the effect of the seasons on acp. The input value is the year part, and the result value is added to the basic acp-per-turn. Defaults to ().

Temperature Variation

TerrainTypeProperty: temperature-average n

This property is the average temperature for each type of terrain. Defaults to 0.

TerrainTypeProperty: temperature-variability n

This property is the amount of totally random variation in the temperature in each cell. Defaults to 0.

GlobalVariable: temperature-year-cycle ((x y) interpolation-list)...

This global is a list of interpolation lists used to set basic temperatures at given points in the area. The input value for each list is the current year part, while the result is the temperature at x,y. Then for each point in the area, its temperature is the interpolation of the temperature at the two nearest given points. Defaults to ().

TerrainTypeProperty: temperature-moderation-range distance

This property is the radius of the area whose raw temperatures will be averaged to get the actual temperature. This can be very time-consuming to calculate, so only values of 0 (no averaging) and 1 (average with adjacent cells) are recommended. Defaults to 0.

Temperature Effects

UnitTypeProperty: acp-temperature-effect interpolation-list

This property is the effect of temperature on acp. The input value is temperature, and the result value is multiplied with acp, after it has been modified for night effect, but before modification for season. The result is divided by 100, so an effect < 100 reduces acp, an effect of 100 has no effect, and an effect > 100 increases acp. Defaults to ().

UnitTypeProperty: consumption-temperature-effect interpolation-list

This property is the effect of temperature on material consumption. Defaults to ().

UnitTypeProperty: temperature-attrition interpolation-list

This property is the effect of temperature on a unit's hp. The input value is temperature, and the result value is the number of hp that the unit will lose each turn at that temperature. Defaults to ().

Transports can protect their occupants from temperature extremes.

Table: temperature-protection u1 u2 -> t/f

Wind Variation

TerrainTypeProperty: wind-force-average n

This property is the average wind force in a type of terrain. Defaults to 0.

TerrainTypeProperty: wind-force-variability n%

This property is the chance that the wind in a cell will increase or decrease in force each turn. Defaults to 0.

TerrainTypeProperty: wind-variability n%

This property is the chance that the wind in a cell will change direction each turn. Defaults to 0.

GlobalVariable: wind-mix-range n

This variable is the radius out to which winds interact. If 0, then winds in adjacent cells can vary independently of each other, and do not interact in any way. Defaults to 0.


Go to the first, previous, next, last section, table of contents.